package com.zhn.resourcej.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author Mr.Seaning
 * @since 2023-12-04
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="User对象", description="")
public class User implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "编号（主键）")
    @TableId(value = "usid", type = IdType.AUTO)
    private Integer usid;

    @ApiModelProperty(value = "用户名")
    private String usname;

    @ApiModelProperty(value = "密码")
    private String uspsw;

    @ApiModelProperty(value = "角色")
    private String uscharacter;

    @ApiModelProperty(value = "头像")
    private String usimg;

    @ApiModelProperty(value = "电话")
    private String usnum;

    @ApiModelProperty(value = " 否 0-未登录，1-已登陆    状态")
    private Integer usstate;


}
